package com.efesco.crm.foreignEnterprise;

import com.bstek.dorado.view.AbstractViewModel;
import com.bstek.dorado.common.DoradoContext;
import com.bstek.dorado.data.*;
import com.bstek.dorado.view.data.*;
import com.bstek.dorado.view.control.*;
import com.efesco.system.*;

/**
 * foreignEnterpriseViewModel
 */
public class foreignEnterpriseViewModel extends AbstractViewModel {
  protected void initControl(Control control)
      throws Exception {

    super.initControl(control);
    String id=control.getId();
    if("FOREIGN_ENTERPRISE_ADD".equals(id) || "FOREIGN_ENTERPRISE_MODIFY".equals(id)){
	    ClientRightControl clientRightControl=new ClientRightControl();
	    clientRightControl.rightControl(id, control,DoradoContext.getContext());
    }
    

    

  }

}
